/**
 * 展会活动
 * 路由
 */
const express = require("express");
const router = express.Router();
// 检验器
const { getExhibitionEventList_validation, getExhibitionEventDetail_validation, editExhibitionEvent_validation } = require("../validators/exhibitionEvent");
// 控制器
const { getExhibitionEventList, getExhibitionEventDetail, editExhibitionEvent, deleteExhibitionEvent } = require("../controllers/exhibitionEvent");

router.get("/getExhibitionEventList", getExhibitionEventList_validation, getExhibitionEventList); // 展会活动列表
router.get("/getExhibitionEventDetail", getExhibitionEventDetail_validation, getExhibitionEventDetail); // 展会活动详情
router.post("/editExhibitionEvent", editExhibitionEvent_validation, editExhibitionEvent); // 展会活动编辑
router.delete("/deleteExhibitionEvent", getExhibitionEventDetail_validation, deleteExhibitionEvent); // 删除展会活动

module.exports = router;
